<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="Public/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="Public/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="Public/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="Public/Flat/img/favicon.ico">
	   	
	</head>
	<body>
		<table class="table table-hover">
			<tr class="active">
			 <th width="210">品牌ID</th>
			  <th width="210">品牌名称</th>
			  <th>logo</th>
	
			  <th width="210">操作</th>
			</tr>
			{{foreach from="$data" key="$k" value="$v"}}
			<tr>
				<td>{{$v['bid']}}</td>
				<td>{{$v['bname']}}</td>
				<td>
					<img src="" alt="">
				</td>
				<td>
					<a href="{{U('Type/add',array('bid'=>$v['bid']))}}" class="btn btn-sm btn-primary">添加品牌</a>
					<a href="{{U('Type/edit',array('bid'=>$v['bid']))}}" class="btn btn-sm btn-warning">编辑</a>
					<a href="javascript:;" class="btn btn-sm btn-danger" onclick="if(confirm('确定删除吗？')) location.href='{{U("del",array("bid"=>$v["bid"]))}}'">删除</a>
				</td>
			</tr>
			{{endforeach}}
		</table>
	</body>
</html>
